package com.naruto.thinkmgr.serviceimpl;

import com.alibaba.dubbo.config.annotation.Service;
import com.naruto.thinkmgr.bean.Role;
import com.naruto.thinkmgr.mapper.RoleMapper;
import com.naruto.thinkmgr.service.RoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.core.annotation.Order;

import java.util.List;

@Service(version = "1.0.0")
public class RoleServiceImpl  implements RoleService {
    @Autowired
    private RoleMapper roleMapper;
    @Override
    public List<Role> queryAll() {
        return roleMapper.queryAll();
    }
}
